// 支付界面
export interface IAddressList{
    id:number
    name:string
    tel:string
    address:string
    isDefault?:boolean
}

// 购物车商品
export interface ICart{
    id:number
    product:string
    shop:string
    price:number
    picture:string
    oldprice:number
    detail:string
    category_id:number
    num:number
    state:boolean | number
    list?:Array<string>
  }

export interface IAccount{

}
export interface IResponse{
    resultCode:number
    resultInfo:any,
    token?:string,
}
 export interface IGoods{
    id: number
    shop: string
    picture: string
    product: string
    price: number
    oldprice: number
    putaway: number
    detail: string
    categoryname: string
    categoryId?: number
    category_id?:number
    list?:Array<string>
    _rawValue?:any


 }
 export interface ICategory{
    id:number
    name:string
    text:string
}
// 注册数据类型
export interface IRegister{
    username:string
    password :string
    headerimg?:string
    nick?:string
    age?:number
    sex?:number
    visitgoal?:string
    education?:string
    company?:string
}

// 订单号
export interface IOderNum{
    orderNum:string
}

// 生成订单
export interface IGoPay{
    userId:number
    productIds: string
    phone:string
    concats:string
    address:string
}

// 生成订单号
export interface IGoPayList{
    orderNum:string
}
//订单里的list
export interface Ilist{
    id: number,
    shop: string,
    product: string,
    price: number,
    picture: string
}
//订单查询
export interface IOderlist{
    id: number,
    order_num: string,
    address: string,
    contacts: string,
    phone: number,
    state: boolean,
    productList: Array<Ilist>
    // productList:[{
    //     id: number,
    //     shop: string,
    //     product: string,
    //     price: number,
    //     picture: string
    // }]
}
